package cn.hnc.checkapi.bean.datatmp;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class ElecData implements Serializable {
   private static final long serialVersionUID = -855791970390552622L;
   private AxServo axServo;
   @JsonProperty("eleDataArr")
   private List nameMinMaxAveCurs = new ArrayList();

   public AxServo getAxServo() {
      return this.axServo;
   }

   public List getNameMinMaxAveCurs() {
      return this.nameMinMaxAveCurs;
   }

   public void setAxServo(final AxServo axServo) {
      this.axServo = axServo;
   }

   public void setNameMinMaxAveCurs(final List nameMinMaxAveCurs) {
      this.nameMinMaxAveCurs = nameMinMaxAveCurs;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ElecData)) {
         return false;
      } else {
         ElecData other = (ElecData)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$axServo = this.getAxServo();
            Object other$axServo = other.getAxServo();
            if (this$axServo == null) {
               if (other$axServo != null) {
                  return false;
               }
            } else if (!this$axServo.equals(other$axServo)) {
               return false;
            }

            Object this$nameMinMaxAveCurs = this.getNameMinMaxAveCurs();
            Object other$nameMinMaxAveCurs = other.getNameMinMaxAveCurs();
            if (this$nameMinMaxAveCurs == null) {
               if (other$nameMinMaxAveCurs != null) {
                  return false;
               }
            } else if (!this$nameMinMaxAveCurs.equals(other$nameMinMaxAveCurs)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof ElecData;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $axServo = this.getAxServo();
      result = result * 59 + ($axServo == null ? 43 : $axServo.hashCode());
      Object $nameMinMaxAveCurs = this.getNameMinMaxAveCurs();
      result = result * 59 + ($nameMinMaxAveCurs == null ? 43 : $nameMinMaxAveCurs.hashCode());
      return result;
   }

   public String toString() {
      return "ElecData(axServo=" + this.getAxServo() + ", nameMinMaxAveCurs=" + this.getNameMinMaxAveCurs() + ")";
   }
}
